package com.ruoyi.userr.mapper;

import java.util.List;
import com.ruoyi.userr.domain.PointFlow;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

/**
 * 积分流水Mapper接口
 * 
 * @author hy
 * @date 2025-08-17
 */
@Component("pointModuleFlowMapper")
public interface PointFlowMapper 
{
    /**
     * 查询积分流水
     * 
     * @param id 积分流水主键
     * @return 积分流水
     */
    public PointFlow selectPointFlowById(Integer id);

    /**
     * 查询积分流水列表
     * 
     * @param pointFlow 积分流水
     * @return 积分流水集合
     */
    public List<PointFlow> selectPointFlowList(PointFlow pointFlow);

    /**
     * 新增积分流水
     * 
     * @param pointFlow 积分流水
     * @return 结果
     */
    public int insertPointFlow(PointFlow pointFlow);

    /**
     * 修改积分流水
     * 
     * @param pointFlow 积分流水
     * @return 结果
     */
    public int updatePointFlow(PointFlow pointFlow);

    /**
     * 删除积分流水
     * 
     * @param id 积分流水主键
     * @return 结果
     */
    public int deletePointFlowById(Integer id);

    /**
     * 批量删除积分流水
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePointFlowByIds(Integer[] ids);


    int point(PointFlow pointFlow);
}
